package com.mazaiting.classfile.attr.info;

import com.mazaiting.classfile.ClassReader;
import com.mazaiting.classfile.constant.ConstantPool;
import lombok.extern.slf4j.Slf4j;

/**
 * Synthetic属性用来标记源文件中不存在、由编译器生成的类成 员，引入Synthetic属性主要是为了支持嵌套类和嵌套接口
 *
 * @author mazaiting
 * @since 2021/8/12
 */
@Slf4j
public class SyntheticAttribute extends AttributeInfo{

    public SyntheticAttribute(ConstantPool pool, int index, int length) {
        super(pool, index, length);
    }

    @Override
    public void readInfo(ClassReader reader) {
        log.debug("SyntheticAttribute解析属性");
    }
}
